package com.web.exiaodao.remote.vo;

import com.web.webstart.base.util.DateUtils;
import com.wordnik.swagger.annotations.ApiModel;
import com.wordnik.swagger.annotations.ApiModelProperty;

import java.util.Date;

/**
 * @author eason.zt
 * @ClassName: ServiceDomesticNursingVo
 * @Description:服务-家政护理 Vo
 * @date 2016-11-03 18:26:50
 */
@ApiModel(value = "服务-家政护理Vo对象")
public class ServiceDomesticNursingVo {

    @ApiModelProperty(value = "主键，自动增长")
    private Long id;

    @ApiModelProperty(value = "创建时间")
    private String createTime;

    @ApiModelProperty(value = "护理人员姓名,护理人员姓名")
    private String nurse_Name;
    @ApiModelProperty(value = "护理岗位name,护理岗位ID(eg:老年护理师)")
    private String nurse_RoleID;

    @ApiModelProperty(value = "人员性别（1:男 2：女）,人员性别1：男，2女")
    private String nurse_Sex_Name;
    private Integer nurse_Sex;

    @ApiModelProperty(value = "护工年龄（出生年月yyyy-MM）,护工年龄（yyyy-MM）")
    private String nurse_Age;
    @ApiModelProperty(value = "工龄,工龄") //（开始年份yyyy）
    private String nurse_LengthServi;
    @ApiModelProperty(value = "机关省份（直辖市、籍贯）,机关省份（直辖市、籍贯）")
    private String nurse_Native;
    @ApiModelProperty(value = "工资,工资")
    private Double nurse_Salary;
    @ApiModelProperty(value = "头像照片（单张）,头像照片（单张）")
    private String nurse_PicUrl;
    @ApiModelProperty(value = "手机号码,手机号码")
    private String nurse_Cellphone;
    @ApiModelProperty(value = "学历,学历（eg:河南医科大学）")
    private String nurse_Education;
    @ApiModelProperty(value = "护工介绍（富文本）,护工介绍")
    private String nurse_Inforation;
    @ApiModelProperty(value = "护理等级(name),护理等级（eg:高级护理技师）")
    private String nurse_Level;
    @ApiModelProperty(value = "工资单位(年、月、天、次),工资单位")
    private String nurse_Salary_unit;
    @ApiModelProperty(value = "点击量,点击量")
    private Long clickCont;
    @ApiModelProperty(value="排序值,排序值")
    private Long sort;


    public ServiceDomesticNursingVo() {
        super();
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }

    public void setNurse_Name(String nurse_Name) {
        this.nurse_Name = nurse_Name;
    }

    public String getNurse_Name() {
        return nurse_Name;
    }

    public void setNurse_RoleID(String nurse_RoleID) {
        this.nurse_RoleID = nurse_RoleID;
    }

    public String getNurse_RoleID() {
        return nurse_RoleID;
    }

    public String getNurse_Sex_Name() {
        return nurse_Sex_Name;
    }

    public Integer getNurse_Sex() {
        return nurse_Sex;
    }

    public void setNurse_Sex(Integer nurse_Sex) {
        this.nurse_Sex = nurse_Sex;
    }

    public void setNurse_Sex_Name(String nurse_Sex_Name) {
        if (this.nurse_Sex.intValue() == 1) {
            this.nurse_Sex_Name = "男";
        } else if (this.nurse_Sex.intValue() == 2) {
            this.nurse_Sex_Name = "女";
        } else {
            this.nurse_Sex_Name = "保密";
        }
    }

    public void setNurse_Age(String nurse_Age) {
        int curYear = Integer.parseInt(DateUtils.getStrDate(new Date(), DateUtils.YYYY));
        this.nurse_Age = (curYear - Integer.parseInt(nurse_Age.substring(0, 4))) + "";
    }

    public String getNurse_Age() {
        return nurse_Age;
    }

    public void setNurse_LengthServi(String nurse_LengthServi) {
        try {
            this.nurse_LengthServi = DateUtils.getMonthSpace(nurse_LengthServi, DateUtils.getStrDate(new Date(), DateUtils.YYYY)) + "";
        } catch (Exception e) {
            e.printStackTrace();
            this.nurse_LengthServi = "1";
        }
    }

    public String getNurse_LengthServi() {
        return nurse_LengthServi;
    }

    public void setNurse_Native(String nurse_Native) {
        this.nurse_Native = nurse_Native;
    }

    public String getNurse_Native() {
        return nurse_Native;
    }

    public void setNurse_Salary(Double nurse_Salary) {
        this.nurse_Salary = nurse_Salary;
    }

    public Double getNurse_Salary() {
        return nurse_Salary;
    }

    public void setNurse_PicUrl(String nurse_PicUrl) {
        this.nurse_PicUrl = nurse_PicUrl;
    }

    public String getNurse_PicUrl() {
        return nurse_PicUrl;
    }

    public void setNurse_Cellphone(String nurse_Cellphone) {
        this.nurse_Cellphone = nurse_Cellphone;
    }

    public String getNurse_Cellphone() {
        return nurse_Cellphone;
    }

    public void setNurse_Education(String nurse_Education) {
        this.nurse_Education = nurse_Education;
    }

    public String getNurse_Education() {
        return nurse_Education;
    }

    public void setNurse_Inforation(String nurse_Inforation) {
        this.nurse_Inforation = nurse_Inforation;
    }

    public String getNurse_Inforation() {
        return nurse_Inforation;
    }

    public void setNurse_Level(String nurse_Level) {
        this.nurse_Level = nurse_Level;
    }

    public String getNurse_Level() {
        return nurse_Level;
    }

    public void setNurse_Salary_unit(String nurse_Salary_unit) {
        this.nurse_Salary_unit = nurse_Salary_unit;
    }

    public String getNurse_Salary_unit() {
        return nurse_Salary_unit;
    }

	public Long getClickCont() {
		return clickCont;
	}

	public void setClickCont(Long clickCont) {
		this.clickCont = clickCont;
	}

	public Long getSort() {
		return sort;
	}

	public void setSort(Long sort) {
		this.sort = sort;
	}

}

